/**
 * output package name
 */
package com.kingdee.eas.ec.project.plan;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class PlanTypeEnum extends IntEnum
{
    public static final int MON_VALUE = 1;
    public static final int TOTAL_VALUE = 4;

    public static final PlanTypeEnum MON = new PlanTypeEnum("MON", MON_VALUE);
    public static final PlanTypeEnum Total = new PlanTypeEnum("Total", TOTAL_VALUE);

    /**
     * construct function
     * @param integer planTypeEnum
     */
    private PlanTypeEnum(String name, int planTypeEnum)
    {
        super(name, planTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PlanTypeEnum getEnum(String planTypeEnum)
    {
        return (PlanTypeEnum)getEnum(PlanTypeEnum.class, planTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static PlanTypeEnum getEnum(int planTypeEnum)
    {
        return (PlanTypeEnum)getEnum(PlanTypeEnum.class, planTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PlanTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PlanTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PlanTypeEnum.class);
    }
}